package com.blb.community.mapper;

import com.blb.community.entity.ZyOwnerRoom;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.blb.community.entity.ZyOwnerRoomRecord;

import java.util.List;

/**
 * <p>
 * 房屋绑定表  Mapper 接口
 * </p>
 *
 * @author 帅帅
 * @since 2022-07-02
 */
public interface ZyOwnerRoomMapper extends BaseMapper<ZyOwnerRoom> {

    void updateStatusOwner(String id);
    ZyOwnerRoom getByOwnerRoomId(String id);

    /**
     * 查寻绑定信息
     *
     * @param id
     * @return
     */
    List<ZyOwnerRoomRecord> getZyOwnerRoomRecordInfo(String id);

    void delByOwnerId(Long id);
}
